package com.iot.ic.dao;

import org.apache.ibatis.annotations.Mapper;

import com.iot.ic.model.AppVersion;



@Mapper
public interface AppVersionMapper {
    int deleteByPrimaryKey(Integer versionId);

    int insert(AppVersion record);

    int insertSelective(AppVersion record);

    AppVersion selectByPrimaryKey(Integer versionId);

    int updateByPrimaryKeySelective(AppVersion record);

    int updateByPrimaryKey(AppVersion record);
    
    /**
     * 获取最新版本
     * @param appVersion
     * @return
     */
    AppVersion selectLastVersion(AppVersion appVersion);
}